const storage = resolve => require(['@/containers/storageManagement/index'], resolve);
const sales = resolve => require(['@/containers/salesManagement/index'], resolve);
import storagePages from '../storage'
import salesPages from '../sales'
const router = [
	{
		path: '/storage',
		name: 'storage',
		redirect: '/storage/afterSaleWarehousing',
		component: storage,
		children: [
			...storagePages
		]
	},
	{
		path: '/sales',
		name: 'sales',
		redirect: '/sales/priceCheck',
		component: sales,
		children: [
			...salesPages
		]
	}
]
export default router;
